kind: Service
apiVersion: v1
metadata:
  name: postgres-operator-np
  namespace: pgo
  labels:
    name: postgres-operator
spec:
  ports:
    - name: apiserver
      protocol: TCP
      port: 8443
      targetPort: 8443
      nodePort: 31201
    - name: nsqadmin
      protocol: TCP
      port: 4171
      targetPort: 4171
      nodePort: 31202
    - name: nsqd
      protocol: TCP
      port: 4150
      targetPort: 4150
      nodePort: 31203
  selector:
    name: postgres-operator
  type: NodePort